package com.baizhi.service;

import com.baizhi.entity.BzAdmin;
import com.baizhi.entity.PmsBrand;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import org.apache.poi.ss.usermodel.Workbook;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xhc
 * @since 2020-09-25
 */
public interface IPmsBrandService extends IService<PmsBrand> {
    public Page<PmsBrand> selectAll(String name, Integer page, Integer size);
    public void insert(PmsBrand pmsBrand);
    public PmsBrand showOne(Integer id);

    public void delete(Integer id);
    public void update(PmsBrand pmsBrand);
    public void deleteAll(List<PmsBrand> ids);

    public Workbook downLoadExcel();
}
